[PATCH] util/swf: move allocation from stack to heap
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 30 Oct 2025 10:27:22 +0000 (11:27 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Wed, 10 Dec 2025 19:12:20 +0000 (20:12 +0100)
commitf858b4ace56521e339f924310c2623f325cd35a6
tree506dbdc2f35fa6b6aa34b840f0334a56979ac62f
parent1edf9e41a49e5a13b618e15e0299e1706d2cfe76
[PATCH] util/swf: move allocation from stack to heap

As it can overflow the stack

Ticket: 8055
(cherry picked from commit a84addb771846f6d4d55ec535a4591f58369e49c)

Origin: upstream, https://github.com/OISF/suricata/commit/f67d72702a2601d0a86ac1450686e70d7176f629.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8055
Subject: Upstream fix for CVE-2025-64332

Gbp-Pq: Name CVE-2025-64332.patch
src/util-file-decompression.c